<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class cMemCache</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class cMemCache</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">MyHammer IndexedMemcache</p>
<p class="description"><p>LICENSE</p><p>This source file is subject to the GNU General Public License Version 3  that is bundled with this package in the file LICENSE.txt.  It is also available through the world-wide-web at this URL:  http://www.myhammer.de/opensource/license/gpl.txt  If you did not receive a copy of the license and are unable to  obtain it through the world-wide-web, please send an email  to opensource@myhammer.de so we can send you a copy immediately.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Steven Berg &lt;<a href="mailto:berg@myhammer.de">berg@myhammer.de</a>&gt;</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">license:</span> <a href="http://www.myhammer.de/opensource/license/gpl.txt">GNU General Public License Version 3</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_classes---core---class.memCache.php.html">/classes/core/class.memCache.php</a> (line <span class="field">24</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																												<div class="var-title">
					static <span class="var-type">mixed</span>
					<a href="#$oMemCache" title="details" class="var-name">$oMemCache</a>
				</div>
																				<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$iReads" title="details" class="var-name">$iReads</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$iWrites" title="details" class="var-name">$iWrites</a>
				</div>
																			</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																										
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#flush" title="details" class="method-name">flush</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result"><a href="../../IndexedMemcache/Memcache/cMemCache.html">cMemCache</a></span>
										<a href="#getInstance" title="details" class="method-name">getInstance</a>
										()
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">integer</span>
										<a href="#increment" title="details" class="method-name">increment</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">mixed</span>
										<a href="#read" title="details" class="method-name">read</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
									</div>
														
				<div class="method-definition">
					static 						<span class="method-result">boolean</span>
										<a href="#write" title="details" class="method-name">write</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$mValue</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$iExpire</span> = <span class="var-default">null</span>])
									</div>
																																																		
				<div class="method-definition">
											<span class="method-result">cMemCache</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
														
				<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#connect" title="details" class="method-name">connect</a>
										()
									</div>
																																																						
				<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#_flush" title="details" class="method-name">_flush</a>
										()
									</div>
														
				<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#_increment" title="details" class="method-name">_increment</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
									</div>
														
				<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#_read" title="details" class="method-name">_read</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
									</div>
														
				<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#_write" title="details" class="method-name">_write</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$mValue</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$iExpire</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$oMemCache" id="$oMemCache"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type">mixed</span>
			<span class="var-name">$oMemCache</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number">26</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>

<a name="var$iReads" id="$iReads"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$iReads</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">27</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$iWrites" id="$iWrites"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$iWrites</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">28</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodflush" id="flush"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static flush</span> (line <span class="line-number">67</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">invalidates all existing items</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			flush
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetInstance" id="getInstance"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static getInstance</span> (line <span class="line-number">83</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">get Object</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../../IndexedMemcache/Memcache/cMemCache.html">cMemCache</a></span>
		<span class="method-name">
			getInstance
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodincrement" id="increment"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static increment</span> (line <span class="line-number">58</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">increment Id</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">integer</span>
		<span class="method-name">
			increment
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sKey</span>			</li>
				</ul>
		
			
	</div>
<a name="methodread" id="read"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static read</span> (line <span class="line-number">48</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">read from Memcache</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">mixed</span>
		<span class="method-name">
			read
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sKey</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwrite" id="write"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static write</span> (line <span class="line-number">38</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">write into Memcache</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">boolean</span>
		<span class="method-name">
			write
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$mValue</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$iExpire</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sKey</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$mValue</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$iExpire</span>			</li>
				</ul>
		
			
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">74</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">cMemCache</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodconnect" id="connect"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">connect</span> (line <span class="line-number">96</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">connect to MemCache</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			connect
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_flush" id="_flush"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_flush</span> (line <span class="line-number">140</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">invalidates all existing items</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			_flush
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_increment" id="_increment"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_increment</span> (line <span class="line-number">131</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">increment</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			_increment
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sKey</span>			</li>
				</ul>
		
			
	</div>
<a name="method_read" id="_read"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_read</span> (line <span class="line-number">120</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">read</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			_read
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sKey</span>			</li>
				</ul>
		
			
	</div>
<a name="method_write" id="_write"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_write</span> (line <span class="line-number">109</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">write</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			_write
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$sKey</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$mValue</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$iExpire</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$sKey</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$mValue</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$iExpire</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Wed, 10 Feb 2010 22:05:13 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>